package org.itboys.mobile.entity.mongo.cookbook;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：zzq
 * 时间：2017年5月9日
 * 描述：花果山（农厨）_菜谱_实体
 */
@Entity(value="KitchenCookBook", noClassnameStored=true)
public class KitchenCookBook extends BaseMongoEntity{
    private String name;//菜谱标题
    private String viceName;//菜谱副标题
    private String time;//烹饪时间
    private String difficulty;//烹饪难度
    private String detail;//效果  细节描述
    private String image;//菜谱主图
    private String videoUrl;//视频路径
    private String desc;//详情正文
  /*  private Long productId;//关联商品ID
    private String productName;//关联产品的名称*/
    //2017年5月17日新增
    private Integer isIndexRecommend;//是否首页推荐
    public KitchenCookBook() {
    }



    public String getViceName() {
        return viceName;
    }

    public void setViceName(String viceName) {
        this.viceName = viceName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getIsIndexRecommend() {
        return isIndexRecommend;
    }

    public void setIsIndexRecommend(Integer isIndexRecommend) {
        this.isIndexRecommend = isIndexRecommend;
    }

 /*   public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }*/
}
